package com.xlh.service.courseTest;

import com.xlh.param.courseTest.PaperModelInsertParam;
import com.xlh.pojo.courseTest.CourseTestPaperModel;

import java.util.List;

/**
 * @author zhr 2019/3/2
 */
public interface PaperModelService {
    /**
     * @return 获取试卷模板
     */
    List<CourseTestPaperModel> getPaperModel(Boolean isChapterModel, Long courseId);

    void addPaperModel(PaperModelInsertParam param, Long courseId);

    void deletePaperModel(Long modelId, Long courseId);

    CourseTestPaperModel selectByPrimaryKey(Long id);

    Boolean checkModel(Long modelId, Long courseId);
}
